package com.cn.kabalifeuser.ui.order.bean;

import java.util.List;

/**
 * Created by 晓林 on 2020/9/14.
 * function:
 */
public class OrderListListBean {


    /**
     * code : 200
     * result : {"data":[{"total_amount":"0.01+1积分","id":36,"goods":[{"id":38,"good_img":"http://oss-fang.xiaoxiucai.xyz/good/1600083382MI6ZWA.png","uid":7,"order_id":36,"title":"商品1","good_num":1,"spec_key":"黑色","integral":1,"original_price":"0.01+1积分","money":"0.01","status":1}]},{"total_amount":"0.01","id":35,"goods":[{"id":37,"good_img":"http://oss-fang.xiaoxiucai.xyz/good/16000704575odYwh.png","uid":7,"order_id":35,"title":"1","good_num":1,"spec_key":"蓝色;L","integral":0,"original_price":"0.01","money":"0.01","status":1}]},{"total_amount":"0.01","id":34,"goods":[{"id":36,"good_img":"http://oss-fang.xiaoxiucai.xyz/good/1600070450fqQakO.png","uid":7,"order_id":34,"title":"1","good_num":1,"spec_key":"白色;XL","integral":0,"original_price":"0.01","money":"0.01","status":1}]},{"total_amount":"0.02+2积分","id":33,"goods":[{"id":35,"good_img":"http://oss-fang.xiaoxiucai.xyz/good/1600070416GBrgCw.png","uid":7,"order_id":33,"title":"商品1","good_num":2,"spec_key":"白色","integral":2,"original_price":"0.02+2积分","money":"0.02","status":1}]},{"total_amount":"0.02","id":32,"goods":[{"id":33,"good_img":"http://oss-fang.xiaoxiucai.xyz/","uid":7,"order_id":32,"title":"银卡会员礼包","good_num":1,"spec_key":"银卡","integral":0,"original_price":"0.01","money":"0.01","status":1},{"id":34,"good_img":"http://oss-fang.xiaoxiucai.xyz/good/1600070450fqQakO.png","uid":7,"order_id":32,"title":"1","good_num":1,"spec_key":"白色;XL","integral":0,"original_price":"0.01","money":"0.01","status":1}]},{"total_amount":"0.01+1积分","id":30,"goods":[{"id":30,"good_img":"http://oss-fang.xiaoxiucai.xyz/good/1600070416GBrgCw.png","uid":7,"order_id":30,"title":"商品1","good_num":1,"spec_key":"白色","integral":1,"original_price":"0.01+1积分","money":"0.01","status":1}]}],"count":6}
     * msg : ok
     */

    private int code;
    private ResultBean result;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ResultBean {
        /**
         * data : [{"total_amount":"0.01+1积分","id":36,"goods":[{"id":38,"good_img":"http://oss-fang.xiaoxiucai.xyz/good/1600083382MI6ZWA.png","uid":7,"order_id":36,"title":"商品1","good_num":1,"spec_key":"黑色","integral":1,"original_price":"0.01+1积分","money":"0.01","status":1}]},{"total_amount":"0.01","id":35,"goods":[{"id":37,"good_img":"http://oss-fang.xiaoxiucai.xyz/good/16000704575odYwh.png","uid":7,"order_id":35,"title":"1","good_num":1,"spec_key":"蓝色;L","integral":0,"original_price":"0.01","money":"0.01","status":1}]},{"total_amount":"0.01","id":34,"goods":[{"id":36,"good_img":"http://oss-fang.xiaoxiucai.xyz/good/1600070450fqQakO.png","uid":7,"order_id":34,"title":"1","good_num":1,"spec_key":"白色;XL","integral":0,"original_price":"0.01","money":"0.01","status":1}]},{"total_amount":"0.02+2积分","id":33,"goods":[{"id":35,"good_img":"http://oss-fang.xiaoxiucai.xyz/good/1600070416GBrgCw.png","uid":7,"order_id":33,"title":"商品1","good_num":2,"spec_key":"白色","integral":2,"original_price":"0.02+2积分","money":"0.02","status":1}]},{"total_amount":"0.02","id":32,"goods":[{"id":33,"good_img":"http://oss-fang.xiaoxiucai.xyz/","uid":7,"order_id":32,"title":"银卡会员礼包","good_num":1,"spec_key":"银卡","integral":0,"original_price":"0.01","money":"0.01","status":1},{"id":34,"good_img":"http://oss-fang.xiaoxiucai.xyz/good/1600070450fqQakO.png","uid":7,"order_id":32,"title":"1","good_num":1,"spec_key":"白色;XL","integral":0,"original_price":"0.01","money":"0.01","status":1}]},{"total_amount":"0.01+1积分","id":30,"goods":[{"id":30,"good_img":"http://oss-fang.xiaoxiucai.xyz/good/1600070416GBrgCw.png","uid":7,"order_id":30,"title":"商品1","good_num":1,"spec_key":"白色","integral":1,"original_price":"0.01+1积分","money":"0.01","status":1}]}]
         * count : 6
         */

        private int count;
        private List<DataBean> data;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * total_amount : 0.01+1积分
             * id : 36
             * goods : [{"id":38,"good_img":"http://oss-fang.xiaoxiucai.xyz/good/1600083382MI6ZWA.png","uid":7,"order_id":36,"title":"商品1","good_num":1,"spec_key":"黑色","integral":1,"original_price":"0.01+1积分","money":"0.01","status":1}]
             */

            private String total_amount;
            private int id;
            private int num;
            private List<GoodsBean> goods;

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public String getTotal_amount() {
                return total_amount;
            }

            public void setTotal_amount(String total_amount) {
                this.total_amount = total_amount;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public List<GoodsBean> getGoods() {
                return goods;
            }

            public void setGoods(List<GoodsBean> goods) {
                this.goods = goods;
            }

            public static class GoodsBean {
                /**
                 * id : 38
                 * good_img : http://oss-fang.xiaoxiucai.xyz/good/1600083382MI6ZWA.png
                 * uid : 7
                 * order_id : 36
                 * title : 商品1
                 * good_num : 1
                 * spec_key : 黑色
                 * integral : 1
                 * original_price : 0.01+1积分
                 * money : 0.01
                 * status : 1
                 */

                private int id;
                private String good_img;
                private int uid;
                private int order_id;
                private String title;
                private int good_num;
                private String spec_key;
                private int integral;
                private String original_price;
                private String money;
                private int status;
                private String created_at;

                private int is_review;


                public int getIs_review() {
                    return is_review;
                }

                public void setIs_review(int is_review) {
                    this.is_review = is_review;
                }

                public String getCreated_at() {
                    return created_at;
                }

                public void setCreated_at(String created_at) {
                    this.created_at = created_at;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getGood_img() {
                    return good_img;
                }

                public void setGood_img(String good_img) {
                    this.good_img = good_img;
                }

                public int getUid() {
                    return uid;
                }

                public void setUid(int uid) {
                    this.uid = uid;
                }

                public int getOrder_id() {
                    return order_id;
                }

                public void setOrder_id(int order_id) {
                    this.order_id = order_id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public int getGood_num() {
                    return good_num;
                }

                public void setGood_num(int good_num) {
                    this.good_num = good_num;
                }

                public String getSpec_key() {
                    return spec_key;
                }

                public void setSpec_key(String spec_key) {
                    this.spec_key = spec_key;
                }

                public int getIntegral() {
                    return integral;
                }

                public void setIntegral(int integral) {
                    this.integral = integral;
                }

                public String getOriginal_price() {
                    return original_price;
                }

                public void setOriginal_price(String original_price) {
                    this.original_price = original_price;
                }

                public String getMoney() {
                    return money;
                }

                public void setMoney(String money) {
                    this.money = money;
                }

                public int getStatus() {
                    return status;
                }

                public void setStatus(int status) {
                    this.status = status;
                }
            }
        }
    }
}
